package org.jks.test;

import org.jks.util.DBUtil;

public class DBBackup {
	public static void main(String[] args) {
		String binPath = "C:/wamp/bin/mysql/mysql5.5.20/bin";
		String username = "udhuYUOqkJnkk";
		String password = "peWRmkre3PXqa";
		String dbname = "d0105a299427a4415a2a8a0e591127061";
		String bakPath = "D:";
		if(DBUtil.backup(binPath, username, password, dbname, bakPath)){
			System.out.println("backup success");
		}
		else{
			System.out.println("backup failure");
		}
	}

}
